package com.design.patterns.creativeModel.decorator.service.decorator;

import com.design.patterns.creativeModel.decorator.service.Notice;

public abstract class NewsDecorator implements Notice {

    protected final Notice notice;

    protected NewsDecorator(Notice notice) {
        this.notice = notice;
    }

    public void push(String msg){
        this.notice.push(msg);
    }

}
